package com.hjqjl.mvvmdemo.net;


import com.hjqjl.mvvmdemo.model.User;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;

public interface ApiService {

    @GET("users/{userId}")
    Observable<User> getUser(@Path("userId") String userId);
}